package com.team2.outpatient_sys.pojo;

/**
 *发药表的实体类
 */
public class ProvideMedicine {
    private Integer id;
    private Integer patientId;
    private Integer dispenseId;
    private String time;

    public ProvideMedicine(Integer id, Integer patientId, Integer dispenseId, String time) {
        this.id = id;
        this.patientId = patientId;
        this.dispenseId = dispenseId;
        this.time = time;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public Integer getDispenseId() {
        return dispenseId;
    }

    public void setDispenseId(Integer dispenseId) {
        this.dispenseId = dispenseId;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    @Override
    public String toString() {
        return "ProvideMedicine{" +
                "id=" + id +
                ", patientId=" + patientId +
                ", dispenseId=" + dispenseId +
                ", time='" + time + '\'' +
                '}';
    }
}
